package com.dk.academic.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: 廉雪峰
 * @Date: 2019/1/9 13:51
 * @Version 1.0
 */
@Controller
public class ErrorController {

    @RequestMapping("error-404")
    public String toPage404() {
        return "error/404";
    }

    @RequestMapping("error-500")
    public String toPage500() {
        return "error/500";
    }
}
